stream: always defer readable in EOF when sync#18615
Closed
mcollina wants to merge 2 commits intonodejs:masterfrom
Closed
stream: always defer readable in EOF when sync#18615mcollina wants to merge 2 commits intonodejs:masterfrom
mcollina wants to merge 2 commits intonodejs:masterfrom
Conversation
Member
Author
Member
Author
mafintosh
reviewed
Feb 7, 2018
lib/_stream_readable.js
Outdated
|
|
||
| if (state.sync && state.length) { | ||
| if (state.sync) { | ||
| // if we are sync and have data in the buffer, wait until next tick |
Member
There was a problem hiding this comment.
prob wanna remove the "and have data in the buffer" part of the comment now
Member
|
👍 |
Member
Author
|
This can land, I propose to fast-track it to fix the CITGM failures. |
BridgeAR
approved these changes
Feb 7, 2018
cjihrig
approved these changes
Feb 7, 2018
benjamingr
approved these changes
Feb 7, 2018
Member
Author
|
CITGM: https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/1264/ |
Member
Author
|
Landing now |
Member
Author
|
Landed as 87b9bce |
Contributor
|
Should this be backported to |
Member
Author
|
This should not be backported. |
MayaLekova
pushed a commit
to MayaLekova/node
that referenced
this pull request
May 8, 2018
Fix a regression introduced by nodejs#18515 that broke the dicer module tests. See: nodejs#18515 PR-URL: nodejs#18615 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Alternative to #18612
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
stream